﻿using System;
using SubsidiosBussinessLogic.SubsidioExceptions;

namespace SubsidiosBussinessLogic.Models
{
    public partial class Ente
    {
        partial void OnValidate(System.Data.Linq.ChangeAction action)
        {
            
            if (string.IsNullOrEmpty(RazonSocial))
                throw new SubsidiosExceptions("Debe insertar el campo razón social...");
        }
      
    }
}
